package service.impl;

import bean.pojo.GdFreequestion;
import dao.GdFreequestionMapper;
import org.springframework.stereotype.Service;
import service.GdFreequestionService;

import javax.annotation.Resource;
import java.util.List;
@Service
public class GdFreequestionServiceImpl implements GdFreequestionService {

    @Resource
    GdFreequestionMapper gdFreequestionDao;

    public boolean insert(GdFreequestion pojo) {
        return gdFreequestionDao.insert(pojo)>0;
    }

    public boolean insertList(List<GdFreequestion> pojos) {
        return gdFreequestionDao.insertList(pojos)>0;
    }

    public List<GdFreequestion> select(GdFreequestion pojo) {
        return null;
    }

    public boolean update(GdFreequestion pojo) {
        return gdFreequestionDao.update(pojo)>0;
    }

}
